package com.btb.adapter.mapper;

import com.btb.adapter.model.UpChainFishPart;
import com.btb.adapter.model.UpChainFishPartExample;
import com.btb.adapter.model.UpChainHero;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@Repository
public interface UpChainFishPartMapper {
    long countByExample(UpChainFishPartExample example);

    int deleteByExample(UpChainFishPartExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UpChainFishPart record);

    int insertSelective(UpChainFishPart record);

    List<UpChainFishPart> selectByExample(UpChainFishPartExample example);

    UpChainFishPart selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UpChainFishPart record, @Param("example") UpChainFishPartExample example);

    int updateByExample(@Param("record") UpChainFishPart record, @Param("example") UpChainFishPartExample example);

    int updateByPrimaryKeySelective(UpChainFishPart record);

    int updateByPrimaryKey(UpChainFishPart record);

	int batchInsert(List<UpChainFishPart> list);
}